#!/bin/bash
 find 01 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 02 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 03 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 04 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 05 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 06 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 07 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 08 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 09 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 10 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 11 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 12 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 13 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 14 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 15 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 16 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 17 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 18 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 19 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 20 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 21 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 22 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 23 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 24 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 25 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 26 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 27 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 28 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 29 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 30 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
find 31 -name "*YL1111.trc" -exec cp  {} yl1111/ \;
echo find all android log files and into android.lst...
find  yl1111 -name "*YL1111.trc" |xargs grep  "Android"  -l > android.lst
echo remove all android logfiles ,from android.lst file.
cat android.lst | while read fileName
do
    echo removing file $fileName
    rm -rf $fileName
    echo  $fileName removed
done
echo  all android logfiles removed,files left  in directory  all is of ios.

echo file names into iosFile.lst
find  yl1111 -name "*YL1111.trc" |xargs ls >> iosFiles.lst

echo read the third line(which contains the request) to ios.txt
cat iosFiles.lst | while read fileName
do
    sed -n '3p' $fileName >> ios.txt
    echo $fileName treated
done
echo ok,all treatment finished,please download ios.txt,all request is here,
echo you can get phonenos from this file with ultraedit.good luck
